package com.hefeng.unit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("gy_device_user")
public class GyDeviceUser implements Serializable,Cloneable{



    @TableId(type = IdType.NONE)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(name = "编号", notes = "编号")
    private Long id;

    @TableField(value = "user_id")
    @ApiModelProperty(name = "用户编号", notes = "用户编号")
    private String userId;

    @TableField(value = "device_id")
    @ApiModelProperty(name = "设备编号", notes = "设备编号")
    private String deviceId;

    @TableField(value = "device_code")
    @ApiModelProperty(name = "设备code", notes = "设备code")
    private String deviceCode;

    @TableField(value = "is_delete")
    @ApiModelProperty(name = "是否删除", notes = "1：正常 2：删除")
    private Integer isDelete;

    @TableField(value = "created_time")
    @ApiModelProperty(name = "创建时间", notes = "创建时间")
    private Date createdTime;

    @TableField(value = "phone")
    @ApiModelProperty(name = "设备绑定人手机号", notes = "设备绑定人手机号")
    private String phone;


}
